this._resizePending = new Set();
this._destroying = new Set();
- this._dimmedWindows = [];
-
this._skippedActors = new Set();
this._allowedKeybindings = {};
IBusManager.getIBusManager().restartDaemon();
});
- Main.overview.connect('showing', () => {
- for (let i = 0; i < this._dimmedWindows.length; i++)
- this._undimWindow(this._dimmedWindows[i]);
- });
- Main.overview.connect('hiding', () => {
- for (let i = 0; i < this._dimmedWindows.length; i++)
- this._dimWindow(this._dimmedWindows[i]);
- });
-
this._windowMenuManager = new WindowMenu.WindowMenuManager();
if (Main.sessionMode.hasWorkspaces)
if (shouldDim && !window._dimmed) {
window._dimmed = true;
- this._dimmedWindows.push(window);
this._dimWindow(window);
} else if (!shouldDim && window._dimmed) {
window._dimmed = false;
- this._dimmedWindows =
- this._dimmedWindows.filter(win => win !== window);
this._undimWindow(window);
}
}
_destroyWindow(shellwm, actor) {
let window = actor.meta_window;
window.disconnectObject(actor);
- if (window._dimmed) {
- this._dimmedWindows =
- this._dimmedWindows.filter(win => win !== window);
- }
if (window.is_attached_dialog())
this._checkDimming(window.get_transient_for());